package davelha.common;

import java.io.Serializable;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class Player implements Serializable{
	
	public static final char	SYMBOL_0			= '0';
	public static final char	SYMBOL_X			= 'X';

	/**
	 * 
	 */
	private static final long	serialVersionUID	= -2464116872956975257L;
	private String				name				= null;
	private char				symbol				= '0';
	private int					playerId			= 0;
	
	public Player() throws RemoteException{}
	
	public Player(String nome) throws RemoteException{
		this.name = nome;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public char getSymbol() {
		return symbol;
	}
	
	public void setSymbol(char symbol) {
		this.symbol = symbol;
	}

	
	public int getPlayerId() {
		return playerId;
	}

	
	public void setPlayerId(int playerId) {
		this.playerId = playerId;
	}
	
	
	
	
}
